<div class="oa-panel-accordion approval-accordion task-accordion according-to-time">
    {{if todayCount > 0}}
    <h3 class="ui-accordion-header">
        <span>{{'TASK_CURTAIN_MY_FINISHED_1' | i18n}}({{todayCount}})</span>
    </h3>
    <div class="oa-accordion-content approval-accordion-content clear">
        <div class="oa-tab-body">
            <div class="oa-listview-contents">
                <div class="oa-list report-list-area daily-paper-list clear">
                    {{each todayTasks as task i}}
                    <div class="show-content clear" _taskId="{{task.id}}">
                        <div class="task_tickbox">
                            <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                        </div>
                        <div class="right-content">
                            <div class="show-info apply-show-info clear">
                                <span>{{task.name}}</span>
                            </div>
                            <div class="show-tool show-info">
                                <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                <span class="user">{{users[task.ownerId].name}}</span>
                                <span class="comment-num">{{task.commentCount}}</span>
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </div>
            </div>
            <div class="oa-listview-footer"></div>
        </div>
    </div>
    {{/if}}
    {{if yesterdayCount > 0}}
    <h3 class="ui-accordion-header">
        <span>{{'TASK_CURTAIN_MY_FINISHED_3' | i18n}}({{yesterdayCount}})</span>
    </h3>
    <div class="oa-accordion-content approval-accordion-content clear">
        <div class="oa-tab-body">
            <div class="oa-listview-contents">
                <div class="oa-list report-list-area daily-paper-list clear">
                    {{each yesterdayTasks as task i}}
                    <div class="show-content clear" _taskId="{{task.id}}">
                        <div class="task_tickbox">
                            <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                        </div>
                        <div class="right-content">
                            <div class="show-info apply-show-info clear">
                                <span>{{task.name}}</span>
                            </div>
                            <div class="show-tool show-info">
                                <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                <span class="user">{{users[task.ownerId].name}}</span>
                                <span class="comment-num">{{task.commentCount}}</span>
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </div>
            </div>
            <div class="oa-listview-footer"></div>
        </div>
    </div>
    {{/if}}
    {{if twoDaysAgoCount > 0}}
    <h3 class="ui-accordion-header">
        <span>{{'TASK_CURTAIN_MY_FINISHED_4' | i18n}}({{twoDaysAgoCount}})</span>
    </h3>
    <div class="oa-accordion-content approval-accordion-content clear">
        <div class="oa-tab-body">
            <div class="oa-listview-contents">
                <div class="oa-list report-list-area daily-paper-list clear">
                    {{each twoDaysAgoTasks as task i}}
                    <div class="show-content clear" _taskId="{{task.id}}">
                        <div class="task_tickbox">
                            <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                        </div>
                        <div class="right-content">
                            <div class="show-info apply-show-info clear">
                                <span>{{task.name}}</span>
                            </div>
                            <div class="show-tool show-info">
                                <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                <span class="user">{{users[task.ownerId].name}}</span>
                                <span class="comment-num">{{task.commentCount}}</span>
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </div>
            </div>
            <div class="oa-listview-footer"></div>
        </div>
    </div>
    {{/if}}
    {{if aWeekAgoCount > 0}}
    <h3 class="ui-accordion-header">
        <span>{{'TASK_CURTAIN_MY_FINISHED_5' | i18n}}({{aWeekAgoCount}})</span>
    </h3>
    <div class="oa-accordion-content approval-accordion-content clear">
        <div class="oa-tab-body">
            <div class="oa-listview-contents">
                <div class="oa-list report-list-area daily-paper-list clear">
                    {{each aWeekAgoTasks as task i}}
                    <div class="show-content clear" _taskId="{{task.id}}">
                        <div class="task_tickbox">
                            <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                        </div>
                        <div class="right-content">
                            <div class="show-info apply-show-info clear">
                                <span>{{task.name}}</span>
                            </div>
                            <div class="show-tool show-info">
                                <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                <span class="user">{{users[task.ownerId].name}}</span>
                                <span class="comment-num">{{task.commentCount}}</span>
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </div>
            </div>
            <div class="oa-listview-footer"></div>
        </div>
    </div>
    {{/if}}
    {{if aMonthAgoCount > 0}}
    <h3 class="ui-accordion-header">
        <span>{{'TASK_CURTAIN_MY_FINISHED_6' | i18n}}({{aMonthAgoCount}})</span>
    </h3>
    <div class="oa-accordion-content approval-accordion-content clear">
        <div class="oa-tab-body">
            <div class="oa-listview-contents">
                <div class="oa-list report-list-area daily-paper-list clear">
                    {{each aMonthAgoTasks as task i}}
                    <div class="show-content clear" _taskId="{{task.id}}">
                        <div class="task_tickbox">
                            <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                        </div>
                        <div class="right-content">
                            <div class="show-info apply-show-info clear">
                                <span>{{task.name}}</span>
                            </div>
                            <div class="show-tool show-info">
                                <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                <span class="user">{{users[task.ownerId].name}}</span>
                                <span class="comment-num">{{task.commentCount}}</span>
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </div>
            </div>
            <div class="oa-listview-footer"></div>
        </div>
    </div>
    {{/if}}
    {{if threeMonthsAgoCount > 0}}
    <h3 class="ui-accordion-header">
        <span>{{'TASK_CURTAIN_MY_FINISHED_7' | i18n}}({{threeMonthsAgoCount}})</span>
    </h3>
    <div class="oa-accordion-content approval-accordion-content clear">
        <div class="oa-tab-body">
            <div class="oa-listview-contents">
                <div class="oa-list report-list-area daily-paper-list clear">
                    {{each threeMonthsAgoTasks as task i}}
                    <div class="show-content clear" _taskId="{{task.id}}">
                        <div class="task_tickbox">
                            <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                        </div>
                        <div class="right-content">
                            <div class="show-info apply-show-info clear">
                                <span>{{task.name}}</span>
                            </div>
                            <div class="show-tool show-info">
                                <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                <span class="user">{{users[task.ownerId].name}}</span>
                                <span class="comment-num">{{task.commentCount}}</span>
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </div>
            </div>
            <div class="oa-listview-footer"></div>
        </div>
    </div>
    {{/if}}
    {{if sixMonthsAgoCount > 0}}
    <h3 class="ui-accordion-header">
        <span>{{'TASK_CURTAIN_MY_FINISHED_8' | i18n}}({{sixMonthsAgoCount}})</span>
    </h3>
    <div class="oa-accordion-content approval-accordion-content clear">
        <div class="oa-tab-body">
            <div class="oa-listview-contents">
                <div class="oa-list report-list-area daily-paper-list clear">
                    {{each sixMonthsAgoTasks as task i}}
                    <div class="show-content clear" _taskId="{{task.id}}">
                        <div class="task_tickbox">
                            <a href="javascript:void(0);" class="done" title="{{'TASK_CLICK_CANCEL_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                        </div>
                        <div class="right-content">
                            <div class="show-info apply-show-info clear">
                                <span>{{task.name}}</span>
                            </div>
                            <div class="show-tool show-info">
                                <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                <span class="user">{{users[task.ownerId].name}}</span>
                                <span class="comment-num">{{task.commentCount}}</span>
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </div>
            </div>
            <div class="oa-listview-footer"></div>
        </div>
    </div>
    {{/if}}
</div>